import { Suspense } from 'react'
import './App.scss'
import Wrapper from './router'
import { history, HistoryRouter } from './utils/history'

function App() {
  return (
    <div className="app">
      <HistoryRouter history={history}>
        <Suspense>
          <Wrapper />
        </Suspense>
      </HistoryRouter>
    </div>
  )
}

export default App
